//
//  member_overload_operator.cpp
//  learnC++
//
//  Created by apple on 2018/6/4.
//  Copyright © 2018年 yunfan.com. All rights reserved.
//

#include "member_overload_operator.hpp"

CentsThree CentsThree::operator+(int value)
{
    return CentsThree(m_cents + value);
}

CentsThree operator-(CentsThree &v1,CentsThree &v2){
    
    return CentsThree(3);
}

CentsThree CentsThree::operator<<(int value){
    return CentsThree(m_cents + value);
}
